﻿namespace RXY_Mall.Domain
{
    public enum LoginType
    {
        快速登录 = 1,
        密码登录 = 2,
        第三方登录微信 = 3,
        第三方登录QQ = 4,
        服务号 = 5,
    }

    public enum StoreType
    {
        烟酒店 = 1,
        便利店 = 2,
        餐饮店 = 3,
    }


    /// <summary>
    /// 广告类型
    /// </summary>
    public enum AdvertType
    {
        All = 0,
        Advert = 1,
        Subject = 2,
        Shop = 3,
        GoodsCategroy = 4,
        GoodsType = 5,
        Goods = 6,
    }

    /// <summary>
    /// 用户级别
    /// </summary>
    public enum UserGrade
    {
        /// <summary>
        /// 普通会员
        /// </summary>
        Ordinary = 0,
        /// <summary>
        /// 黑卡会员
        /// </summary>
        Member = 1,
        /// <summary>
        /// 掌门人
        /// </summary>
        GuildChief = 2,
    }

    /// <summary>
    /// 优惠券类型
    /// </summary>
    public enum CouponType
    {
        /// <summary>
        /// 所有
        /// </summary>
        All = 0,
        /// <summary>
        /// 普通优惠券
        /// </summary>
        Ordinary = 1,
        /// <summary>
        /// 会员优惠券
        /// </summary>
        Memeber = 2,
    }

    /// <summary>
    /// 购买类型
    /// </summary>
    public enum BuyType
    {
        /// <summary>
        /// 直接购买
        /// </summary>
        DirectBuy = 1,
        /// <summary>
        /// 拼团购买
        /// </summary>
        GroupBuy = 2,
        ///// <summary>
        ///// 合体免单 改动太多
        ///// </summary>
        //FreeBuy = 3,
        ///// <summary>
        ///// 一元购
        ///// </summary>
        //WelfareBuy = 4,
        ///// <summary>
        ///// 会员专享
        ///// </summary>
        //MemeberBuy = 5,
        /// <summary>
        /// 购物车
        /// </summary>
        CartBuy = 10,
    }

    /// <summary>
    /// 支付类型
    /// </summary>
    public enum PayType
    {
        All = 0,
        /// <summary>
        /// 余额支付
        /// </summary>
        Balance = 1,
        /// <summary>
        ///  微信App支付
        /// </summary>
        WeChatApp = 2,
        /// <summary>
        ///  支付宝支付
        /// </summary>
        Alipay = 3,
        /// <summary>
        /// 微信公众号支付
        /// </summary>
        WeChatWeb = 4,
        /// <summary>
        /// 微信H5支付
        /// </summary>
        WeChatH5 = 5,
        /// <summary>
        /// 货到付款
        /// </summary>
        COD = 10,

    }

    /// <summary>
    /// 平台类型
    /// </summary>
    public enum PlatformType
    {
        /// <summary>
        /// PC
        /// </summary>
        PC = 1,
        /// <summary>
        /// IOS
        /// </summary>
        IOS = 2,
        /// <summary>
        /// 安卓
        /// </summary>
        Android = 3,
        /// <summary>
        /// 微信
        /// </summary>
        Wechat = 4,
    }

    /// <summary>
    /// 订单状态
    /// </summary>
    public enum OrderStatus
    {
        /// <summary>
        /// 全部
        /// </summary>
        All = 0,
        /// <summary>
        /// 待付款
        /// </summary>
        Pay = 1,
        /// <summary>
        /// 待分享
        /// </summary>
        Group = 2,
        /// <summary>
        /// 拼单失败
        /// </summary>
        Failure = 3,
        /// <summary>
        /// 待发货
        /// </summary>
        Shipment = 4,
        /// <summary>
        /// 待收货
        /// </summary>
        Receive = 5,
        /// <summary>
        /// 完成
        /// </summary>
        Complete = 10,
        /// <summary>
        /// 拼单完成，但未获得商品
        /// </summary>
        GroupComplete = 11,
        /// <summary>
        /// 取消
        /// </summary>
        Cancel = 20,
        /// <summary>
        /// 已拆单
        /// </summary>
        Separate = 21,
    }

    /// <summary>
    /// 拼单类型
    /// </summary>
    public enum GroupType
    {
        /// <summary>
        /// 所有
        /// </summary>
        All = 0,
        /// <summary>
        /// 拼手气
        /// </summary>
        Lucky = 1,
        /// <summary>
        /// 免单
        /// </summary>
        Free = 2,
        /// <summary>
        /// 1元购
        /// </summary>
        Welfare = 3
    }

    /// <summary>
    /// 拼单状态
    /// </summary>
    public enum GroupStatus
    {
        All = 0,
        /// <summary>
        /// 拼单中
        /// </summary>
        Process = 1,
        /// <summary>
        /// 拼单成功
        /// </summary>
        Succeed = 2,
        /// <summary>
        /// 拼单失败
        /// </summary>
        Failure = 3,
        /// <summary>
        /// 取消
        /// </summary>
        Cancel = 4,

    }

    /// <summary>
    /// 品牌排序
    /// </summary>
    public enum BrandSort
    {
        All = 0,
        Top = 1,
    }


    /// <summary>
    /// 商品类型
    /// </summary>
    public enum GoodsType
    {
        /// <summary>
        /// 所有
        /// </summary>
        All = 0,
        /// <summary>
        /// 普通商品
        /// </summary>
        Ordinary = 1,
        /// <summary>
        /// 助力免单
        /// </summary>
        Free = 2,
        /// <summary>
        /// 会员专属
        /// </summary>
        Memeber = 3,
        /// <summary>
        /// 一元购
        /// </summary>
        Welfare = 4,
    }

    /// <summary>
    /// 营销类型
    /// </summary>
    public enum MarketingType
    {
        All = 0,
        /// <summary>
        /// 优惠券
        /// </summary>
        Coupon = 1,
        /// <summary>
        /// 补贴
        /// </summary>
        Returned = 2

    }

    /// <summary>
    /// 货币类型
    /// </summary>
    public enum Currencies
    {
        /// <summary>
        /// 1:余额 
        /// </summary>
        Balance = 1,
        /// <summary>
        /// 2:蚨豆 
        /// </summary>
        Bean = 2,
        /// <summary>
        /// 3:经验值 
        /// </summary>
        Exp = 3,
        /// <summary>
        /// 弟子
        /// </summary>
        Child = 4,
    }

    /// <summary>
    /// 收支类型
    /// </summary>
    public enum PaymentType
    {
        /// <summary>
        /// 收入
        /// </summary>
        Income = 1,
        /// <summary>
        /// 支出
        /// </summary>
        Expense = 2,
    }

    /// <summary>
    /// 排序
    /// </summary>
    public enum Sort
    {
        All = 0,
        /// <summary>
        /// 推荐
        /// </summary>
        Top = 1,
        /// <summary>
        /// 新品
        /// </summary>
        New = 2,

        /// <summary>
        /// 销售量升序
        /// </summary>
        SalesAsc = 20,
        /// <summary>
        /// 销售量降序
        /// </summary>
        SalesDes = 21,
        /// <summary>
        /// 价格升序
        /// </summary>
        PriceAsc = 30,
        /// <summary>
        /// 价格降序
        /// </summary>
        PriceDes = 31,
        /// <summary>
        /// 时间升序
        /// </summary>
        DateAsc = 40,
        /// <summary>
        /// 时间降序
        /// </summary>
        DateDes = 41,

    }

    /// <summary>
    /// 拼单关系
    /// </summary>
    public enum GroupRelation
    {
        /// <summary>
        /// 所有
        /// </summary>
        All = 0,
        /// <summary>
        /// 发起者
        /// </summary>
        Leader = 1,
        /// <summary>
        /// 参与者
        /// </summary>
        Player = 2,
    }

    /// <summary>
    /// 交易类型
    /// </summary>
    public enum TradeType
    {
        购物鼓励金红包 = 10,
        拼手气鼓励金红包 = 11,
        好友进贡红包 = 12,
        //徒孙进贡红包 = 13,
        拼手气退款 = 14,
        补贴卡 = 15,
        取消订单退款 = 16,
        申请退款 = 17,
        拒绝提现 = 18,

        参与拼手气获得贡献值 = 101,
        趣卡会员好友成为趣卡会员获贡献值 = 102,
        评价购买的商品获贡献值 = 103,
        发起拼手气成功获贡献值 = 104,
        购买商品奖励贡献值 = 105,
        分享注册用户获得贡献值 = 106,

        在线支付 = 20,
        提现 = 21,
    }

    #region 退换货
    /// <summary>
    /// 退换货状态
    /// </summary>
    public enum ReturnStatus
    {
        All = 0,
        /// <summary>
        /// 1.买家提交申请
        /// </summary>
        提交申请 = 1,
        /// <summary>
        /// 2.商家审核
        /// </summary>
        审核通过 = 2,
        /// <summary>
        /// 3.买家填写退货信息
        /// </summary>
        退货信息 = 3,
        /// <summary>
        /// 4.商家已确认收货
        /// </summary>
        商家已确认收货 = 4,
        /// <summary>
        /// 5.退款中
        /// </summary>
        退款中 = 5,
        /// <summary>
        /// 6.商家已确认收货
        /// </summary>
        商家重新发货 = 6,
        /// <summary>
        /// 7.买家确认收货
        /// </summary>
        买家确认收货 = 7,
        /// <summary>
        /// 10.已完成
        /// </summary>
        已完成 = 10,
        /// <summary>
        /// 20.已取消
        /// </summary>
        已取消 = 20,
        /// <summary>
        /// 审核失败
        /// </summary>
        审核失败 = 21
    }

    /// <summary>
    /// 处理状态
    /// </summary>
    public enum ProcessState
    {
        All = 0,
        /// <summary>
        /// 处理中
        /// </summary>
        Process = 1,
    }

    public enum SenderType
    {
        /// <summary>
        /// 买家
        /// </summary>
        Buyer = 1,
        /// <summary>
        /// 商家
        /// </summary>
        Merchant = 2,
    }



    /// <summary>
    /// 退款类型
    /// </summary>
    public enum RefundType
    {
        退款到余额 = 1,
        原返 = 2,
    }

    /// <summary>
    /// 退换货类型
    /// </summary>
    public enum ReturnType
    {
        All = 0,
        /// <summary>
        /// 我要退货退款
        /// </summary>
        GoodsAndMoney = 1,
        /// <summary>
        /// 我要退款
        /// </summary>
        Money = 2,
        /// <summary>
        /// 我要换货
        /// </summary>
        Goods = 3,

    }

    /// <summary>
    /// 退换货原因
    /// </summary>
    public enum ReturnReason
    {
        All = 0,
        /// <summary>
        /// 七天无理由
        /// </summary>
        SevenDaysWithoutReason = 1,
        /// <summary>
        /// 多拍、错拍、不想要了
        /// </summary>
        NoWant = 2,
        /// <summary>
        /// 不喜欢了
        /// </summary>
        NoLike = 3,
        /// <summary>
        /// 货物与描述不符
        /// </summary>
        DescribeDiscrepancy = 4,
        /// <summary>
        /// 生产日期/保质期与商品描述不符
        /// </summary>
        Expire = 5,
        /// <summary>
        /// 其他
        /// </summary>
        Other = 10,

    }
    #endregion

    /// <summary>
    /// 消息类型
    /// </summary>
    public enum MessageType
    {
        /// <summary>
        /// 订单通知
        /// </summary>
        Order = 1,
        /// <summary>
        /// 优惠通知
        /// </summary>
        Discount = 2,
        /// <summary>
        /// 红包通知
        /// </summary>
        Redpacket = 3,
        /// <summary>
        /// 钱包通知
        /// </summary>
        Wallet = 4,
        /// <summary>
        /// 公告通知
        /// </summary>
        Notice = 5,
    }

    public enum RedpacketType
    {
        购物鼓励金红包 = 10,
        拼手气鼓励金红包 = 11,
        好友进贡红包 = 12,
        //好友赠送红包 = 13,
        补贴卡 = 20
    }

    public enum WalletType
    {
        /// <summary>
        /// 提现
        /// </summary>
        Withdraw = 1
    }



    /// <summary>
    /// 优惠类型
    /// </summary>
    public enum DiscountType
    {
        /// <summary>
        /// 领取优惠券
        /// </summary>
        Coupon = 1,
        /// <summary>
        /// 折扣商品
        /// </summary>
        DiscountGoods = 2
    }

    public enum BindingType
    {
        QQ = 1,
        WeChat = 2,
        服务号 = 3,
    }

    public enum AppType
    {
        Android = 1,
        IOS = 2,
        Wap = 3,
    }

    /// <summary>
    /// 订单状态
    /// </summary>
    public enum OrderStatus2
    {
        /// <summary>
        /// 下单成功但未支付
        /// </summary>
        待处理 = 1,
        /// <summary>
        /// 支付到收货前
        /// </summary>
        处理中 = 2,
        /// <summary>
        /// 用户收到货,订单完成
        /// </summary>
        已完成 = 3,
        /// <summary>
        /// 订单取消
        /// </summary>
        已取消 = 4
    }

    /// <summary>
    /// 支付状态
    /// </summary>
    public enum PayStatus
    {
        All = 0,
        未付款 = 1,
        已付款 = 2,
        部分退款 = 3,
        退款 = 4,
    }

    /// <summary>
    /// 发货状态
    /// </summary>
    public enum ShipmentStatus
    {
        All = 0,
        未发货 = 1,
        //部分配送 = 2,
        已发货 = 3,
        已交货 = 4,
        //退货中 = 5,
        退货 = 6,
    }

    public enum ServiceStatus
    {
        可申请售后 = 1,
        售后中 = 2,
        售后过期 = 3,
        售后关闭 = 4,
    }

    public enum BuyRedpacket
    {
        待处理 = 1,
        领取中 = 2,
        领取红包 = 3,
        取消 = 4,
    }

    /// <summary>
    /// 运费计费类型
    /// </summary>
    public enum ChargeType
    {
        包邮 = 1,
        按件计费 = 2,
        按重量计费 = 3
    }

    /// <summary>
    /// 短信类型
    /// </summary>
    public enum SMSType
    {
        /// <summary>
        /// 注册
        /// </summary>        
        Register = 0,
        /// <summary>
        /// 忘记登录密码
        /// </summary>
        ForgetLoginPassword = 1,
        /// <summary>
        /// 忘记支付密码
        /// </summary>
        ForgetPayPassword = 2,
        /// <summary>
        /// 修改手机号
        /// </summary>
        UpdateMobile = 3,
        /// <summary>
        /// 修改新手机号
        /// </summary>
        UpdateNewMobile = 4,
        /// <summary>
        /// 快速登录
        /// </summary>
        QuickLogin = 5,
        /// <summary>
        /// 添加登录密码
        /// </summary>
        AddLoginPassword = 6,
        /// <summary>
        /// 添加支付密码
        /// </summary>
        AddPayPassword = 7,
        /// <summary>
        /// 提现
        /// </summary>
        Withdraw = 8,
        /// <summary>
        /// 第三方绑定
        /// </summary>
        Binding = 9,
        ShopPassword = 10,
    }

    public enum NotifyType
    {
        Success,
        Error,
        Warning
    }

    /// <summary>
    /// 收藏类型
    /// </summary>
    public enum CollectionType
    {
        Goods = 1,
        Shop = 2
    }

}
